package com.tyq.service;

import javax.jws.WebService;
import java.util.HashMap;
import java.util.Map;

/**
 * Created by tyq on 16/10/15.
 */
@WebService
public class StudentService implements IStudentService {


    @Override
    public Map<String, String> getName(String name) {
        System.out.println("NAME:"+name);
        Map<String,String> map = new HashMap<>();
        map.put("NAME",name);
        return map;
    }

    @Override
    public String sayHello(String name, String content) {
        String str = name+">>>"+content;
        System.out.println(str);
        return str;
    }
}
